package com.hrbxlh.virtualization.param;


import javax.validation.constraints.NotNull;

/**
 * 制作课程时创建集群
 *
 * @author cheer
 */
public class ClusterAutoCreateParam {

    @NotNull(message = "集群主节点镜像Id不能为空")
    private Long masterImageId;

    @NotNull(message = "集群第一个从节点镜像Id不能为空")
    private Long firstSlaveImageId;

    @NotNull(message = "集群第二个从节点镜像Id不能为空")
    private Long secondSlaveImageId;

    public Long getMasterImageId() {
        return masterImageId;
    }

    public void setMasterImageId(Long masterImageId) {
        this.masterImageId = masterImageId;
    }

    public Long getFirstSlaveImageId() {
        return firstSlaveImageId;
    }

    public void setFirstSlaveImageId(Long firstSlaveImageId) {
        this.firstSlaveImageId = firstSlaveImageId;
    }

    public Long getSecondSlaveImageId() {
        return secondSlaveImageId;
    }

    public void setSecondSlaveImageId(Long secondSlaveImageId) {
        this.secondSlaveImageId = secondSlaveImageId;
    }
}
